package com.nexus.plugin.security.constants;

/**
 * @Date 2025/7/30 15:49
 * @Author luzhengning
 **/
public class AuthConstants {

    /**
     * 令牌自定义标识
     */
    public static final String AUTHENTICATION = "Authorization";

    /**
     * 系统登录用户列表
     *
     * @Author: 路正宁
     * @Date: 2022/12/12 19:05
     */
    public final static String Redis_Key_SysLoginUserList = "Auth:SysLoginUserList:";

    /**
     * 登录凭证期限/小时
     *
     * @author luzhengning
     * @date 2023/3/20 13:52
     */
    public final static int ACCESS_TOKEN_EXPIRE_HOUR = 24;

    /**
     * 刷新凭证期限/小时
     *
     * @author luzhengning
     * @date 2023/3/20 13:52
     */
    public final static int REFRESH_TOKEN_EXPIRE_HOUR = 24 * 7;

    /**
     * JWT秘钥
     *
     * @author luzhengning
     * @date 2023/3/20 14:05
     */
    public final static String JWT_SECRET = "ukc8BDbRigUDaY6pZFfWus2jZWLPHO";


}
